<div id="menu">
    <ul>
        <li class="current_page_item">
            <c:choose>
                <c:when test="${userLevel == 1}">
                    <a href="student_home.jsp">
                    </c:when>
                    <c:when test="${userLevel == 2}">
                        <a href="leraar_home.jsp">
                        </c:when>
                        <c:when test="${userLevel == 3}">
                            <a href="admin_home.jsp">
                            </c:when>
                            <c:when test="${userLevel == null}">
                                <a href="visitor_home.jsp">
                                </c:when>
                            </c:choose>


                            Home

                        </a></li>
                        <li><a href="about.jsp">about 32L</a></li>

                        <li class="last"><a href="subscribe_to_course">Courses</a></li>

                        <li class="   <% if (request.getRequestURI().equals("/32LNew/login.jsp") || request.getRequestURI().equals("/32LNew/visitor_home.jsp")) {
                                out.println("login");
                            } else {
                                out.println("logout");
                            }%>

                            ">



                            <a href="

                               <% if (request.getRequestURI().equals("/32LNew/login.jsp") || request.getRequestURI().equals("/32LNew/visitor_home.jsp")) {
                                       out.println("login");
                                   } else {
                                       out.println("logout");
                                   }%>

                               ">

                                <% if (request.getRequestURI().equals("/32LNew/login.jsp") || request.getRequestURI().equals("/32LNew/visitor_home.jsp")) {
                                        out.println("login");
                                    } else {
                                        out.println("logout");
                                    }%>        
                            </a></li>
                        <li class="flag-wrapper">
                            <%@include file="flags.jsp"%>
                        </li>



                        </ul>
                        </div>

